package com.zicheng.luckyGift.dto;

//import jdk.nashorn.internal.codegen.types.BooleanType;

public class StudentDTO {
    private String name;
    private int age;
    private int group;
    private boolean isMarried;


    public StudentDTO(String name, int age, int group, boolean isMarried) {
        this.name = name;
        this.age = age;
        this.group = group;
        this.isMarried = isMarried;
    }

    public StudentDTO(String name, int age, int group) {
        this.name = name;
        this.age = age;
        this.group = group;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public int getGroup() {
        return group;
    }

    public void setGroup(int group) {
        this.group = group;
    }
    public boolean isMarried() {
        return isMarried;
    }

    public void setMarried(boolean married) {
        isMarried = married;
    }
}
